3.1169 \(\int \frac {(1-2 x) (3+5 x)^2}{(2+3 x)^3} \, dx\)

Optimal. Leaf size=38 \[ -\frac {50 x}{27}+\frac {8}{9 (3 x+2)}-\frac {7}{162 (3 x+2)^2}+\frac {65}{27} \log (3 x+2) \]

[Out]

-50/27*x-7/162/(2+3*x)^2+8/9/(2+3*x)+65/27*ln(2+3*x)

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 38, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {77} \[ -\frac {50 x}{27}+\frac {8}{9 (3 x+2)}-\frac {7}{162 (3 x+2)^2}+\frac {65}{27} \log (3 x+2) \]

Antiderivative was successfully verified.

[In]

Int[((1 - 2*x)*(3 + 5*x)^2)/(2 + 3*x)^3,x]

[Out]

(-50*x)/27 - 7/(162*(2 + 3*x)^2) + 8/(9*(2 + 3*x)) + (65*Log[2 + 3*x])/27

Rule 77

Int[((a_.) + (b_.)*(x_))*((c_) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Int[ExpandIntegran
d[(a + b*x)*(c + d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, n}, x] && NeQ[b*c - a*d, 0] && ((ILtQ[
n, 0] && ILtQ[p, 0]) || EqQ[p, 1] || (IGtQ[p, 0] && ( !IntegerQ[n] || LeQ[9*p + 5*(n + 2), 0] || GeQ[n + p + 1
, 0] || (GeQ[n + p + 2, 0] && RationalQ[a, b, c, d, e, f]))))

Rubi steps

\begin {align*} \int \frac {(1-2 x) (3+5 x)^2}{(2+3 x)^3} \, dx &=\int \left (-\frac {50}{27}+\frac {7}{27 (2+3 x)^3}-\frac {8}{3 (2+3 x)^2}+\frac {65}{9 (2+3 x)}\right ) \, dx\\ &=-\frac {50 x}{27}-\frac {7}{162 (2+3 x)^2}+\frac {8}{9 (2+3 x)}+\frac {65}{27} \log (2+3 x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.03, size = 35, normalized size = 0.92 \[ \frac {1}{162} \left (-\frac {3 \left (600 x^2+656 x+173\right )}{(3 x+2)^2}-300 x+390 \log (3 x+2)\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[((1 - 2*x)*(3 + 5*x)^2)/(2 + 3*x)^3,x]

[Out]

(-300*x - (3*(173 + 656*x + 600*x^2))/(2 + 3*x)^2 + 390*Log[2 + 3*x])/162

________________________________________________________________________________________

fricas [A]  time = 0.56, size = 47, normalized size = 1.24 \[ -\frac {2700 \, x^{3} + 3600 \, x^{2} - 390 \, {\left (9 \, x^{2} + 12 \, x + 4\right )} \log \left (3 \, x + 2\right ) + 768 \, x - 281}{162 \, {\left (9 \, x^{2} + 12 \, x + 4\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)*(3+5*x)^2/(2+3*x)^3,x, algorithm="fricas")

[Out]

-1/162*(2700*x^3 + 3600*x^2 - 390*(9*x^2 + 12*x + 4)*log(3*x + 2) + 768*x - 281)/(9*x^2 + 12*x + 4)

________________________________________________________________________________________

giac [A]  time = 1.18, size = 27, normalized size = 0.71 \[ -\frac {50}{27} \, x + \frac {432 \, x + 281}{162 \, {\left (3 \, x + 2\right )}^{2}} + \frac {65}{27} \, \log \left ({\left | 3 \, x + 2 \right |}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)*(3+5*x)^2/(2+3*x)^3,x, algorithm="giac")

[Out]

-50/27*x + 1/162*(432*x + 281)/(3*x + 2)^2 + 65/27*log(abs(3*x + 2))

________________________________________________________________________________________

maple [A]  time = 0.01, size = 31, normalized size = 0.82 \[ -\frac {50 x}{27}+\frac {65 \ln \left (3 x +2\right )}{27}-\frac {7}{162 \left (3 x +2\right )^{2}}+\frac {8}{9 \left (3 x +2\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((1-2*x)*(5*x+3)^2/(3*x+2)^3,x)

[Out]

-50/27*x-7/162/(3*x+2)^2+8/9/(3*x+2)+65/27*ln(3*x+2)

________________________________________________________________________________________

maxima [A]  time = 0.46, size = 31, normalized size = 0.82 \[ -\frac {50}{27} \, x + \frac {432 \, x + 281}{162 \, {\left (9 \, x^{2} + 12 \, x + 4\right )}} + \frac {65}{27} \, \log \left (3 \, x + 2\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)*(3+5*x)^2/(2+3*x)^3,x, algorithm="maxima")

[Out]

-50/27*x + 1/162*(432*x + 281)/(9*x^2 + 12*x + 4) + 65/27*log(3*x + 2)

________________________________________________________________________________________

mupad [B]  time = 0.03, size = 26, normalized size = 0.68 \[ \frac {65\,\ln \left (x+\frac {2}{3}\right )}{27}-\frac {50\,x}{27}+\frac {\frac {8\,x}{27}+\frac {281}{1458}}{x^2+\frac {4\,x}{3}+\frac {4}{9}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-((2*x - 1)*(5*x + 3)^2)/(3*x + 2)^3,x)

[Out]

(65*log(x + 2/3))/27 - (50*x)/27 + ((8*x)/27 + 281/1458)/((4*x)/3 + x^2 + 4/9)

________________________________________________________________________________________

sympy [A]  time = 0.13, size = 31, normalized size = 0.82 \[ - \frac {50 x}{27} - \frac {- 432 x - 281}{1458 x^{2} + 1944 x + 648} + \frac {65 \log {\left (3 x + 2 \right )}}{27} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)*(3+5*x)**2/(2+3*x)**3,x)

[Out]

-50*x/27 - (-432*x - 281)/(1458*x**2 + 1944*x + 648) + 65*log(3*x + 2)/27

________________________________________________________________________________________